/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

'use strict';

module.exports.DOCUMENT_STORE_PRECOMPILE_ADDRESS = '0x123167d19e81b9d30573f7b51953cb0979ffe9f4';

module.exports.DOCUMENT_STORE_PRECOMPILE_ABI = {
    'crossIssue': {
        "constant": false,
        "inputs": [{"name": "document", "type": "bytes"}, {"name": "toChainId", "type": "uint64"}],
        "name": "crossIssue",
        "outputs": [{"name": "", "type": "bool"}],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    'setManagerProxy': {
        "constant": false,
        "inputs": [{"name": "_managerProxyContract", "type": "address"}],
        "name": "setManagerProxy",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    },
    'bindProxyHash': {
        "constant": false,
        "inputs": [{"name": "_toChainId", "type": "uint64"}, {"name": "_targetProxyHash", "type": "bytes"}],
        "name": "bindProxyHash",
        "outputs": [{"name": "", "type": "bool"}],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    }
};
